package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.system.SysMenu;
import com.atguigu.spzx.model.vo.system.SysMenuVo;

import java.util.List;

/**
 * ClassName: SysMenuService
 * Package:
 * Description:
 *
 * @Author:xiaohei
 * @Create 2024/5/19 14:25
 * Version 1.0
 */
public interface SysMenuService {
    /**
     * 列表方法
     * @return
     */
    List<SysMenu> findNodes();

    void save(SysMenu sysMenu);

    //修改
    void update(SysMenu sysMenu);

    void removeById(Long id);

    //查询用户可以操作的菜单
    List<SysMenuVo> findMenusByUserId();

}
